home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / cad / opampdem.zip / DEMO.BAT < prev    next >
DOS Batch File  |  1993-03-01  |  5KB  |  131 lines

  1. echo off
  2. CLS
  3. ECHO"  
  4. ECHO"  
  5. ECHO"
  6. ECHO            ▄█████▄               ▄█              NATIONAL SEMICONDUCTOR 
  7. ECHO          ▄███▀▀▀███            ▄███ 
  8. ECHO        ▄███▀     ▀█          ▄███▀                   Analog Division
  9. ECHO      ▄███▀   ▄▄▄  █        ▄███▀   
  10. ECHO    ▄███▀   ▄█████ █      ▄███▀   ▄█           OP-AMP MACROMODELS for Spice
  11. ECHO  ▄███▀   ▄███▀ ▀█ █    ▄███▀   ▄███ 
  12. ECHO ███▀   ▄███▀    █ █▄ ▄███▀   ▄███▀                     Version 2.5   
  13. ECHO █▀   ▄███▀      █ █████▀   ▄███▀
  14. ECHO    ▄███▀        █ ▀██▀   ▄███▀   
  15. ECHO  ▄███▀          █      ▄███▀
  16. ECHO ███▀            █▄   ▄███▀
  17. ECHO █▀              ███████▀
  18. ECHO                  ▀███▀
  19. ECHO" 
  20. ECHO" 
  21. PAUSE
  22.  
  23. CLS
  24. ECHO Welcome to National Semiconductor's OP-AMP Macromodel library disk.  
  25. ECHO The following demonstration shows the use of National's models in 
  26. ECHO PSpice netlists.  This demostration must be run from a hard disk
  27. ECHO with at least 2.5MB of free space.  
  28. ECHO"
  29. IF NOT EXIST PROBE.DSP ECHO Expanding PSpice files.  Please wait...
  30. IF NOT EXIST PROBE.DSP ECHO"
  31. IF NOT EXIST EXPLPS50.EXE GOTO ERR
  32. IF NOT EXIST PROBE.DSP EXPLPS50
  33. IF NOT EXIST PROBE.DSP GOTO ERR
  34. ECHO"
  35. ECHO Note: This demo was written for IBM compatible computers with
  36. ECHO EGA or VGA monitors.  If you are using a lower-resolution screen,
  37. ECHO you must stop this demo by pressing Ctrl-C and change the first 
  38. ECHO line in PSPICE.DEV to DISPLAY=IBM for CGA or DISPLAY=TEXT for 
  39. ECHO Hercules by using your favorite text editor.
  40. ECHO"
  41. ECHO"
  42. PAUSE
  43. CLS
  44. ECHO Example #1 is an non-inverting amplifier with a closed-loop gain
  45. ECHO of +1.  The amplifier used is the new LMC6482, a unique 
  46. ECHO CMOS OP-AMP which has an input common-mode range that extends to both rails.
  47. ECHO The LMC6482 features a supply range from 3V to 15V, a CMRR of 85dB, an 
  48. ECHO input bias current of only 10fA, and an output stage that allows the output
  49. ECHO to swing within milivolts of the rail while driving a 600ohm load!
  50. ECHO We will now explore the large signal behavior of the LMC6482 as the
  51. ECHO input and output swing from rail-to-rail.   
  52. ECHO"
  53. ECHO"
  54. PAUSE
  55. CLS
  56. ECHO             LMC6482 Voltage Follower Netlist
  57. ECHO"
  58. TYPE EX1.CIR
  59. ECHO"
  60. ECHO Notice the use of the subcircuit designator (XAR1) and the call
  61. ECHO to the CMOS OP-AMP library (.LIB CMOSOA.LIB).
  62. ECHO"
  63. PAUSE
  64. CLS
  65. ECHO Now we will compile the netlist with PSpice and show the output
  66. ECHO of the simulation.  On color screens, the input to the amplifier (node 3)
  67. ECHO will be shown in green and the output waveform (node 6) will be shown 
  68. ECHO in red.
  69. ECHO"
  70. ECHO Note:  To run the simulations outside of this demo, simply type:
  71. ECHO PSPICE EX1.CIR at the DOS prompt. 
  72. ECHO"
  73. ECHO"
  74. PAUSE
  75. PSPICE1 EX1.CIR
  76. IF EXIST EX1.DAT PROBE /C EX1.CMD
  77. CLS
  78. ECHO Example #2 is a non-inverting voltage-controlled voltage source (VCVS)
  79. ECHO low-pass filter.  The LMC660, an ultra-high input impedance 
  80. ECHO rail-rail output swing amplifier, was used in order to reduce capacitor
  81. ECHO size, with a resulting scaled increase in resistor size.  High value
  82. ECHO resistors are less costly than high value capacitors. 
  83. ECHO By implementing an amplifier with less than 4fA (typical) of input
  84. ECHO current, D.C. errors are minimized even though 8.2 MEG ohm resistors
  85. ECHO are used.
  86. ECHO"
  87. ECHO For more information on this filter topology, consult:
  88. ECHO "Operational Amplifiers - Design and Applications"
  89. ECHO G. Tobey, J. Graeme, L. Huelsman, McGraw-Hill Book Co.
  90. ECHO p.p. 295-301
  91. ECHO"
  92. PAUSE
  93. CLS
  94. ECHO                    LMC660 Low-pass filter netlist
  95. ECHO"
  96. TYPE EX2.CIR
  97. ECHO"
  98. ECHO Notice the call to the CMOS OP-AMP library (.LIB CMOSOA.LIB).
  99. ECHO"
  100. PAUSE
  101. CLS
  102. ECHO Once again, we will compile the netlist with PSpice and show the output
  103. ECHO of the simulation.  The output is simply the frequency response of the
  104. ECHO output node (7) with respect to the input node (1).  Notice the cutoff 
  105. ECHO frequency at 1 Hz and the 40dB/decade roll-off thereafter.
  106. ECHO"
  107. ECHO"
  108. PAUSE
  109. PSPICE1 EX2.CIR
  110. IF EXIST EX2.DAT PROBE /C EX2.CMD
  111. CLS
  112. ECHO This concludes our demonstration.  The evaluation version of PSpice
  113. ECHO included on this disk was provided courtesy of MicroSim Corporation.
  114. ECHO For information regarding MicroSim products, call (800) 245-3022.
  115. ECHO"
  116. ECHO The OP-AMP macromodels on this disk were designed and developed by
  117. ECHO David Hindi and Al Neves of National Semiconductor's Linear Applications
  118. ECHO Division.  For information on the models, call (408) 721-3877.
  119. ECHO"
  120. ECHO Copying of this disk is welcome and encouraged.
  121. ECHO"
  122. ECHO Have fun with our models!
  123. GOTO END
  124. :ERR ECHO Problem encountered expanding PSpice files!
  125. ECHO Demo must be run from a hard disk drive with at least 2.5MB free.
  126. ECHO To run the demo, copy the files from the library disk to the hard disk
  127. ECHO by typing:  COPY A:*.* C: at the DOS prompt and then type: C:DEMO
  128. ECHO If you still have problems, contact the National Semiconductor Customer
  129. ECHO response center at (408) 721-4902.
  130. :END  
  131.